From: Jonas Dreßler Date: Mon, 9 Sep 2019 19:28:46 +0000 (+0200) Subject: overviewControls: Remove slide transitions before setting value manually X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~133 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=13f97532bf244a8433f2dffbb84783092f401b26;p=gnome-shell.git overviewControls: Remove slide transitions before setting value manually Remove transitions of the `slide-x` property of the layout manager before we set the property to a fixed value, otherwise the transitions might still be running and change the value after we set it. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/707 --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index cf24a5e56..f5c51eed7 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -248,6 +248,7 @@ var SlidingControl = class { // selector; this means we can now safely set the full slide for // the next page, since slideIn or slideOut might have been called, // changing the visiblity + this.actor.remove_transition('@layout.slide-x'); this.layout.slide_x = this._getSlide(); this._updateTranslation(); }